package com.ruoyi.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 材料申请单对象 materials_requisitiones
 * 
 * @author ruoyi
 * @date 2020-07-23
 */
public class MaterialsRequisitiones extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long mMid;

    /** 材料类型 */
    @Excel(name = "材料类型")
    private String matTypes;

    /** 材料分类 */
    @Excel(name = "材料分类")
    private String matClassifications;

    /** 材料数据 */
    @Excel(name = "材料数据")
    private String matDatas;

    /** 材料详情 */
    @Excel(name = "材料详情")
    private String matDetailss;

    /** 材料数量 */
    @Excel(name = "材料数量")
    private Long matNumbers;

    /** 申请人 */
    @Excel(name = "申请人")
    private String mPeoples;

    /** 状态 */
    @Excel(name = "状态")
    private Long mStatus;

    /** 创建时间 */
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date mMtime;

    /** 审批意见 */
    @Excel(name = "审批意见")
    private String mOpinions;

    /** 项目外键 */
    @Excel(name = "项目外键")
    private Long mId;

    /** 已购材料数量 */
    @Excel(name = "已购材料数量")
    private Long mBuy;

    /** 未购材料数量 */
    @Excel(name = "未购材料数量")
    private Long mUnbuy;

    /** 库中拿取 */
    @Excel(name = "未购材料数量")
    private Long mLocal;

    /** 采购任务状态 */
    @Excel(name = "采购任务状态")
    private Long mIsover;

    public String getmBusiness() {
        return mBusiness;
    }

    public void setmBusiness(String mBusiness) {
        this.mBusiness = mBusiness;
    }

    /** 采购商家 */
    @Excel(name = "采购商家")
    private String mBusiness;

    public BigDecimal getmPrice() {
        return mPrice;
    }

    public void setmPrice(BigDecimal mPrice) {
        this.mPrice = mPrice;
    }

    /** 材料单价 */
    @Excel(name = "材料单价")
    private BigDecimal mPrice;


    public Long getmBuy() {
        return mBuy;
    }

    public void setmBuy(Long mBuy) {
        this.mBuy = mBuy;
    }

    public Long getmUnbuy() {
        return mUnbuy;
    }

    public void setmUnbuy(Long mUnbuy) {
        this.mUnbuy = mUnbuy;
    }

    public Long getmIsover() {
        return mIsover;
    }

    public void setmIsover(Long mIsover) {
        this.mIsover = mIsover;
    }

    public void setmMid(Long mMid)
    {
        this.mMid = mMid;
    }

    public Long getmLocal()
    {
        return mLocal;
    }

    public void setmLocal(Long mLocal)
    {
        this.mLocal = mLocal;
    }

    public Long getmMid()
    {
        return mMid;
    }
    public void setMatTypes(String matTypes) 
    {
        this.matTypes = matTypes;
    }

    public String getMatTypes() 
    {
        return matTypes;
    }
    public void setMatClassifications(String matClassifications) 
    {
        this.matClassifications = matClassifications;
    }

    public String getMatClassifications() 
    {
        return matClassifications;
    }
    public void setMatDatas(String matDatas) 
    {
        this.matDatas = matDatas;
    }

    public String getMatDatas() 
    {
        return matDatas;
    }
    public void setMatDetailss(String matDetailss) 
    {
        this.matDetailss = matDetailss;
    }

    public String getMatDetailss() 
    {
        return matDetailss;
    }
    public void setMatNumbers(Long matNumbers) 
    {
        this.matNumbers = matNumbers;
    }

    public Long getMatNumbers() 
    {
        return matNumbers;
    }
    public void setmPeoples(String mPeoples) 
    {
        this.mPeoples = mPeoples;
    }

    public String getmPeoples() 
    {
        return mPeoples;
    }
    public void setmStatus(Long mStatus) 
    {
        this.mStatus = mStatus;
    }

    public Long getmStatus() 
    {
        return mStatus;
    }
    public void setmMtime(Date mMtime) 
    {
        this.mMtime = mMtime;
    }

    public Date getmMtime() 
    {
        return mMtime;
    }
    public void setmOpinions(String mOpinions) 
    {
        this.mOpinions = mOpinions;
    }

    public String getmOpinions() 
    {
        return mOpinions;
    }
    public void setmId(Long mId) 
    {
        this.mId = mId;
    }

    public Long getmId() 
    {
        return mId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("mMid", getmMid())
            .append("matTypes", getMatTypes())
            .append("matClassifications", getMatClassifications())
            .append("matDatas", getMatDatas())
            .append("matDetailss", getMatDetailss())
            .append("matNumbers", getMatNumbers())
            .append("mPeoples", getmPeoples())
            .append("mStatus", getmStatus())
            .append("mMtime", getmMtime())
            .append("mOpinions", getmOpinions())
            .append("mId", getmId())
                .append("mBuy", getmBuy())
                .append("mUnbuy", getmUnbuy())
                .append("mIsover", getmIsover())
                .append("mBusiness", getmBusiness())
                .append("mPrice", getmPrice())
                .append("mLocal", getmLocal())
            .toString();
    }
}
